﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.OcclusionArea
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System.Runtime.CompilerServices;
using UnityEngine.Bindings;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>OcclusionArea is an area in which occlusion culling is performed.</para>
  /// </summary>
  [NativeHeader("Runtime/Camera/OcclusionArea.h")]
  public sealed class OcclusionArea : Component
  {
    /// <summary>
    ///   <para>Center of the occlusion area relative to the transform.</para>
    /// </summary>
    public Vector3 center
    {
      get
      {
        Vector3 ret;
        this.get_center_Injected(out ret);
        return ret;
      }
      set => this.set_center_Injected(ref value);
    }

    /// <summary>
    ///   <para>Size that the occlusion area will have.</para>
    /// </summary>
    public Vector3 size
    {
      get
      {
        Vector3 ret;
        this.get_size_Injected(out ret);
        return ret;
      }
      set => this.set_size_Injected(ref value);
    }

    [SpecialName]
    [MethodImpl(MethodImplOptions.InternalCall)]
    private extern void get_center_Injected(out Vector3 ret);

    [SpecialName]
    [MethodImpl(MethodImplOptions.InternalCall)]
    private extern void set_center_Injected(ref Vector3 value);

    [SpecialName]
    [MethodImpl(MethodImplOptions.InternalCall)]
    private extern void get_size_Injected(out Vector3 ret);

    [SpecialName]
    [MethodImpl(MethodImplOptions.InternalCall)]
    private extern void set_size_Injected(ref Vector3 value);
  }
}
